package com.visceb.backstage.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import com.visceb.backstage.entity.Ass;
import java.util.List;

public interface assRepository extends JpaRepository<Ass, Long>{
    List<Ass> findAllBySubjectId(int id);
    Ass findByUsernameAndSubjectId(String username, int subjectId);
}
